package com.lishiots.cloud.datacenter.middleware.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.util.Date;

/**
 * Created by Chaofan at 2018-11-19 13:26
 * email:chaofan2685@qq.com
 **/
public class Label {

    @TableId(value = "id",type = IdType.ID_WORKER_STR)
    private String id;

    //数据创建时间
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    public Label() {
    }

    public Label(String labelName, String documentId) {
        this.labelName = labelName;
        this.documentId = documentId;
    }

    //用户名
    private String labelName;

    //密码
    private String documentId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getLabelName() {
        return labelName;
    }

    public void setLabelName(String labelName) {
        this.labelName = labelName;
    }

    public String getDocumentId() {
        return documentId;
    }

    public void setDocumentId(String documentId) {
        this.documentId = documentId;
    }
}
